/* eslint-disable */
const path = require("path");
const pathJson = require("../paths.json");

const tsPath = {};

Object.entries(pathJson.compilerOptions.paths).forEach(([key, [val]]) => {
  tsPath[key.replace("/*", "")] = path.resolve(
    __dirname,
    "..",
    "src",
    val.replace("/*", "")
  );
});
console.error("tsPath:", tsPath);

module.exports = tsPath;
